package com.wntms.gps.pojo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;


/**
 * 运输合同对象 carriage_contract
 * 
 * @author group 4
 * @date 2022-11-22
 */
@Data
public class CarriageContract
{
    private static final long serialVersionUID = 1L;

    /** 运输合同单号 */
    private String cid;

    /** 货运编号 */
    private String fid;

    /** 发货人senderid */
    private Long senderid;

    /** 发货人*/
    private CustomerInformation customerInformation;

    /** 交货点receive_address */
    private String receiveAddress;

    /** 起运时间shipping_time */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date shippingTime;

    /** 预计到达时间arrival_time */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date arrivalTime;

    /** 收货客户信息idreceiverid */
    private Long receiverid;

    /** 收货人*/
    private CustomerIn customerIn;

    /** 保险费insurance */
    private Double insurance;

    /** 运费fare */
    private Double fare;

    /** 运单状态表的id status */
    private Integer status;

    /** 有效性sence */
    private Integer sence;

    /** 司机信息表id */
    private Long diid;

    /** 司机信息 */
    private DriverInformation driverInformation;

    private FreightStatus freightStatus;

}
